SftTree/NET 2.0

Selected Property, CellClass Class

Softel vdm, Inc.

Defines whether this cell is selected.

Syntax      CellClass Class (Softelvdm.SftTreeNET)

VB   

Public Property Selected As Boolean

C#   

public bool Selected { get; set; }

C++   

public: property bool Selected {
        bool get();
        void set(bool value);
}

Property Value

True if selected, otherwise False.

Comments

The Selected property defines whether this cell is selected.

The Selected property is only available if the SelectionStyle property allows cell selection (SelectionStyleEnum.SingleCell, SelectionStyleEnum.MultipleCells, SelectionStyleEnum.BlockOfCells). It cannot be used if item selection (SelectionStyleEnum.SingleItem, SelectionStyleEnum.MultipleItems) is in effect.

When an cell is selected, the SelectionChanged event occurs.


Feedback / comments / error reports for this topic
© 2007 - Softel vdm, Inc. - www.softelvdm.com